package bigmath;

public class IntegerDemo3 {
    public static void main(String[] args) {
        //将引用类型的变量,直接赋值给了对应的基本类型的变量--自动拆箱
        Integer in = new Integer(56);
        //int i = in.intValue();
        int i = in;
        System.out.println(i);

        Double dou = new Double(3.33);
        //double d = dou.doubleValue();
        double d = dou;
        System.out.println(d);

        Character ch = new Character('f');
        //char c = ch.charValue();
        char c = ch;
    }
}
